package cn.xutongxue.interview.entity.dto.user;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author Administrator
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RegisterDto implements Serializable {
    private static final long serialVersionUID = -4705747377540869079L;

    @NotBlank(message = "用户名不能为空")
    private String username;
    @NotBlank(message = "用户密码不能为空")
    private String password;
    @NotBlank(message = "确认密码不能为空")
    private String checkPassword;

}
